package com.xxx.mch.domain.request;

import com.xxx.mch.domain.dto.PersonalAwardCoefficientDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * @author FengHaixin
 * @description 一句话描述该文件的用途
 * @date 2020/9/7
 */
@Setter
@Getter
@ToString (callSuper = true)
@ApiModel ("奖金系数模式对象")
public class PersonalAwardRequest
{
    @ApiModelProperty ("个人模式下的总奖金数")
    @NotNull (message = "总奖金不能为空")
    private BigDecimal totalAward;

    @ApiModelProperty ("月份，yyyy-MM格式")
    @NotNull (message = "请选择月份")
    private String month;

    @NotEmpty (message = "请填写奖金系数")
    private List<PersonalAwardCoefficientDto> awardList;
}
